package com.why.blog.dao;

import com.why.blog.bean.Type;

import java.util.List;

/**
 * @program: blog
 * @description:
 * @author: @why
 * @create: 2021-01-15 22:49
 **/
public interface typeDao {
    List<Type> getListType();

    Type getTypeById(Integer id);

    int deleteTypeById(Integer id);

    int updateType(Type type);

    void saveType(Type type);

    int typeNums();

    Integer getTypeByName(String name);

    List<Type> getListBlogByType();



}
